<?php

namespace app\models;

/**
 * This is the model class for table "cti_file".
 */
class CrmCity extends \yii\db\ActiveRecord
{
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return 'crm_city';
    }

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['ProID','CityID'], 'integer'],
            [['ProID'], 'unique'],
            [['CityName','PYJM','EmsTo'], 'string', 'max' => 50],
            [['PhoneArea'], 'string', 'max' => 20],
            [['MobileArea'], 'string', 'max' => 0],
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
        ];
    }
}
